package com.swallowtech.mstation.core.service.imp;

import java.util.Collection;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.swallowtech.mstation.core.domain.MusicGenre;
import com.swallowtech.mstation.core.repository.MusicGenreRepository;
import com.swallowtech.mstation.core.service.SampleService;

@Service
public class SampleServiceImpl implements SampleService {
	
	@Autowired
	private MusicGenreRepository musicGenreRepository;
	
	public Collection<MusicGenre> getMusicGenres() {
		// TODO Auto-generated method stub
		
		return null;
	}

	public MusicGenre getMusicGenreByID(Integer id) {
		// TODO Auto-generated method stub
		return musicGenreRepository.findById(id);
	}

}
